import axios from "axios"
export const getProvince = () => {
    return axios({
        url: 'http://ajax-api.itheima.net/api/province'
    })
}
export const getCity = (data) => {
    return axios({
        url: 'http://ajax-api.itheima.net/api/city',
        params: data
    })
}
export const getArea = (data) => {
    return axios({
        url: 'http://ajax-api.itheima.net/api/area',
        params: data
    })
}